
export function convertSectionData (data, col, val = {}) {
    if (!data) {
        return []
    }
    let number = Math.ceil(data.length / (col * 1.0));
    if (number*col === data.length) {
        return data
    }
    for (let i = 0; i < number*col - data.length; i++) {
        data.push(val)
    }
    return data
}
